home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio
/
Ham Radio CD-ROM (Emerald Software) (1995).ISO
/
freq
/
wpl102
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1991-04-23
|
2KB
|
70 lines
echo off
cls
if x%2==x goto param
if x%1==x goto param
if %1==a: goto install
if %1==A: goto install
if %1==b: goto install
if %1==B: goto install
if %2==c: goto install
if %2==C: goto install
if %2==d: goto install
if %2==D: goto install
if %2==e: goto install
if %2==E: goto install
if %2==f: goto install
if %2==F: goto install
if %2==g: goto install
if %2==G: goto install
if %2==h: goto install
if %2==H: goto install
if %2==i: goto install
if %2==I: goto install
:param
ECHO ------------------------------------------------------------------
ECHO ! !
echo ! To install WPL type src:INSTALL src: dest: !
ECHO ! !
echo ! .e.g A:INSTALL A: C: !
ECHO ! !
ECHO ------------------------------------------------------------------
goto stop
:install
ECHO ------------------------------------------------------------------
ECHO ! !
ECHO ! Source Directory = %1 !
ECHO ! !
ECHO ! Destination Directory = %2 !
ECHO ! !
ECHO ! To abort the WPL installation, type Ctrl-C and then Y at the !
ECHO ! "Terminate batch job (Y/N)?" prompt !
ECHO ! !
ECHO ------------------------------------------------------------------
pause
ECHO The \WPL directory is being created ...
%2
mkdir \wpl
ECHO WPL is being installed ...
copy %1*.* %2\wpl
ECHO WPL is now ready to run on a VGA monitor.
ECHO ...
ECHO Type USE_EGA to configure WPL to run on a EGA monitor
ECHO (USE_EGA only needs to be used during installation)
ECHO ...
ECHO ...
ECHO To Start type: CD \WPL
ECHO WPL
cd \wpl
:stop
ECHO ON